//
// Created by kqzhang on 2022/3/17.
//

#ifndef HUAWEI_C___SITE_H
#define HUAWEI_C___SITE_H

#include "header.h"

class Site {
public:
    Site() = default;
    Site(int idValue, string nameValue);

    // bandwidth
    void setBandWidth(int value);
    int getBandWidth();

    // leftBandWidth
    void setLeftWidth(int value);
    void changeLeftWidth(int value);
    bool isAssign(int value);
    int getLeftWidth();
    void updateLeftBand();

    // qos
    void setQos(vector<int> &value);
    vector<int>& getQos();
    int getQos(int userId);

    // name
    string getName();

private:
    int id;
    int bandWidth;
    int leftWidth;

    string name;

    vector<int> qos;
};

#endif //HUAWEI_C___SITE_H
